package com.yc.dao;

import com.yc.bean.Account;

import java.util.List;

/**
 * @author zwei
 * @create 2024-08-07 15:37
 */
public interface AccountDao {
    //添加Account账号
    public int insert(double money);
    //根据账户更新money
    public void update(int accountid,double money);
    //根据账户删除
    public void delete(int accountid);
    //查询账户总数
    public int findCount();
    //查询所有账户
    public List<Account> findAll();
    //根据账户id查询账户
    public Account findById(int accountid);

}
